package com.zhongke.cotrun.service.impl;

import com.zhongke.cotrun.mapper.LeaveWordMapper;
import com.zhongke.cotrun.model.pojo.LeaveWord;
import com.zhongke.cotrun.service.LeaveWordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LeaveWordServiceImpl implements LeaveWordService {
    @Autowired
    LeaveWordMapper leaveWordMapper;

    /**
     * 添加留言
     * @param leaveWord
     * @return
     */
    @Override
    public Boolean addLeaveWord(LeaveWord leaveWord) {


        return leaveWordMapper.insertLeaveWord(leaveWord);
    }
}
